﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020005B1 RID: 1457
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishRogueCommonDialogueCsReq : IMessage<FinishRogueCommonDialogueCsReq>, IMessage, IEquatable<FinishRogueCommonDialogueCsReq>, IDeepCloneable<FinishRogueCommonDialogueCsReq>, IBufferMessage
	{
		// Token: 0x170012AB RID: 4779
		// (get) Token: 0x06004180 RID: 16768 RVA: 0x000B304D File Offset: 0x000B124D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishRogueCommonDialogueCsReq> Parser
		{
			get
			{
				return FinishRogueCommonDialogueCsReq._parser;
			}
		}

		// Token: 0x170012AC RID: 4780
		// (get) Token: 0x06004181 RID: 16769 RVA: 0x000B3054 File Offset: 0x000B1254
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishRogueCommonDialogueCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170012AD RID: 4781
		// (get) Token: 0x06004182 RID: 16770 RVA: 0x000B3066 File Offset: 0x000B1266
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishRogueCommonDialogueCsReq.Descriptor;
			}
		}

		// Token: 0x06004183 RID: 16771 RVA: 0x000B306D File Offset: 0x000B126D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishRogueCommonDialogueCsReq()
		{
		}

		// Token: 0x06004184 RID: 16772 RVA: 0x000B3075 File Offset: 0x000B1275
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishRogueCommonDialogueCsReq(FinishRogueCommonDialogueCsReq other) : this()
		{
			this.eventUniqueId_ = other.eventUniqueId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004185 RID: 16773 RVA: 0x000B309A File Offset: 0x000B129A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishRogueCommonDialogueCsReq Clone()
		{
			return new FinishRogueCommonDialogueCsReq(this);
		}

		// Token: 0x170012AE RID: 4782
		// (get) Token: 0x06004186 RID: 16774 RVA: 0x000B30A2 File Offset: 0x000B12A2
		// (set) Token: 0x06004187 RID: 16775 RVA: 0x000B30AA File Offset: 0x000B12AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventUniqueId
		{
			get
			{
				return this.eventUniqueId_;
			}
			set
			{
				this.eventUniqueId_ = value;
			}
		}

		// Token: 0x06004188 RID: 16776 RVA: 0x000B30B3 File Offset: 0x000B12B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishRogueCommonDialogueCsReq);
		}

		// Token: 0x06004189 RID: 16777 RVA: 0x000B30C1 File Offset: 0x000B12C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishRogueCommonDialogueCsReq other)
		{
			return other != null && (other == this || (this.EventUniqueId == other.EventUniqueId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600418A RID: 16778 RVA: 0x000B30F0 File Offset: 0x000B12F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EventUniqueId != 0U)
			{
				num ^= this.EventUniqueId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600418B RID: 16779 RVA: 0x000B312F File Offset: 0x000B132F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600418C RID: 16780 RVA: 0x000B3137 File Offset: 0x000B1337
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600418D RID: 16781 RVA: 0x000B3140 File Offset: 0x000B1340
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EventUniqueId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.EventUniqueId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600418E RID: 16782 RVA: 0x000B3174 File Offset: 0x000B1374
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EventUniqueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventUniqueId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600418F RID: 16783 RVA: 0x000B31B2 File Offset: 0x000B13B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishRogueCommonDialogueCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EventUniqueId != 0U)
			{
				this.EventUniqueId = other.EventUniqueId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004190 RID: 16784 RVA: 0x000B31E3 File Offset: 0x000B13E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004191 RID: 16785 RVA: 0x000B31EC File Offset: 0x000B13EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.EventUniqueId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040019C1 RID: 6593
		private static readonly MessageParser<FinishRogueCommonDialogueCsReq> _parser = new MessageParser<FinishRogueCommonDialogueCsReq>(() => new FinishRogueCommonDialogueCsReq());

		// Token: 0x040019C2 RID: 6594
		private UnknownFieldSet _unknownFields;

		// Token: 0x040019C3 RID: 6595
		public const int EventUniqueIdFieldNumber = 1;

		// Token: 0x040019C4 RID: 6596
		private uint eventUniqueId_;
	}
}
